const mongoose = require('mongoose')


mongoose.connect("mongodb+srv://3078437987:147896325@cluster0.kl7is.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0")
    .then(res => {
        console.log('连接成功');
    })
    .catch((err) => {
        console.log(err,1);
    })
module.exports=mongoose




